package com.taritari.journal.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author taritari
 * @date 2023-12-04 21:22
 * @description 用户表
 */
@Data
@TableName(value = "journal_user")
@AllArgsConstructor
@NoArgsConstructor
public class JournalUser {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    private String username;
    private String password;
    private String nickname;
    private String imgUrl;
    private int auth;
    private String email;
    private String sign;
    private int age;
    private int gender;
}
